package edu.neusoft.yiqibike.service;

import com.baomidou.mybatisplus.plugins.Page;
import edu.neusoft.yiqibike.common.entity.mysql.Admin;
import edu.neusoft.yiqibike.common.entity.mysql.Bike;
import edu.neusoft.yiqibike.common.entity.mysql.BreakdownRecord;
import edu.neusoft.yiqibike.common.entity.vo.BikeVo;

import java.util.Map;

/**
 * User：lyc
 * Date：2018-01-26
 * Time：17:51
 * Description：
 */
public interface IBikeService {
    Page<BreakdownRecord> getBreakdownList(Page<BreakdownRecord> page);

    void handleBreakdown(String id, Integer status, String reason, Admin admin);

    Page<BikeVo> getBikeList(Page<Bike> page);

    boolean updateBike(Bike bike);

    boolean addBike(Bike bike, Double[] location);

    void breakdown(Long bikeNo);
}
